package com.ruoyi.home.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播图对象 home_banner
 *
 * @author feiyididai
 * @date 2024-03-23
 */
public class HomeBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图ID */
    private Long bannerId;

    /** 轮播图图片 */
    @Excel(name = "轮播图图片")
    private String bannerImg;

    /** 轮播图外部连接 */
    @Excel(name = "轮播图外部连接")
    private String bannerLink;

    /** 未删除：0/已删除：1 */
    @Excel(name = "未删除：0/已删除：1")
    private Integer statusDelete;

    public void setBannerId(Long bannerId)
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId()
    {
        return bannerId;
    }
    public void setBannerImg(String bannerImg)
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg()
    {
        return bannerImg;
    }
    public void setBannerLink(String bannerLink)
    {
        this.bannerLink = bannerLink;
    }

    public String getBannerLink()
    {
        return bannerLink;
    }
    public void setStatusDelete(Integer statusDelete)
    {
        this.statusDelete = statusDelete;
    }

    public Integer getStatusDelete()
    {
        return statusDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerImg", getBannerImg())
            .append("bannerLink", getBannerLink())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("statusDelete", getStatusDelete())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
